home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / MPW / lgrind 1.0.1 / malloc.h < prev   
Encoding:
C/C++ Source or Header  |  1993-04-25  |  368 b   |  13 lines  |  [TEXT/MPS ]

  1. /* 
  2.  * This is a patch for the port of LGRIND to the Apple Macintosh MPW Shell 3.2.
  3.  * The lgrind-file "regexp.c" refers to a <malloc.h> which is not very ANSI,
  4.  * and doesn't exist in the MPW Shell.
  5.  * Fixed by rerouting to <stdlib.h>.
  6.  */
  7.  
  8. #ifndef MPW
  9. #error Do you really want to reroute the Unix "#include <malloc.h>" to "<stdlib.h>" ?
  10. #endif
  11.  
  12. #include <stdlib.h>
  13.